﻿using CoreShop.Model.FromBody;
using CoreShop.Model.UI;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreShop.Model
{   

    /// <summary>
    /// 六小象AI学习提交实体
    /// </summary>
    public class LxxLearningModel
    {
        /// <summary>
        /// 编码
        /// </summary>
        public string id { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public LxxLearningSkuModel sku { get; set; } = new LxxLearningSkuModel();

        /// <summary>
        /// 名称
        /// </summary>
        public int learningMode { get; set; } = 0;


        public SkuSaleInfoModel skuSaleInfo { get; set; } = new SkuSaleInfoModel();
    }

    /// <summary>
    /// 六小橡商品实体
    /// </summary>
    public class LxxLearningSkuModel
    {
        /// <summary>
        /// 编码
        /// </summary>
        public string code { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string name { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string spuCode { get; set; }
    }

    /// <summary>
    /// 通用实体
    /// </summary>
    public class SkuSaleInfoModel
    {
        public int sales { get; set; }
        public int priceUnit { get; set; }
        public int price { get; set; }
        public int salePrice { get; set; }
        public int amount { get; set; }
        public string barCode { get; set; }
        public int priceChangeMode { get; set; }
        public int priceType { get; set; }
    }

    /// <summary>
    /// 六小象AI识别返回实体
    /// </summary>
    public class GetMatchingResultModel
    {
        /// <summary>
        /// 编码
        /// </summary>
        public string id { get; set; }

        /// <summary>
        /// 名称LxxLearningSku
        /// </summary>
        public object skuList { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string transparentData { get; set; }
    }

    /// <summary>
    /// 六小象AI识别返回实体
    /// </summary>
    public class LxxMatchingResultModel
    {
        /// <summary>
        /// 编码
        /// </summary>
        public string id { get; set; } 

        /// <summary>
        /// 名称LxxLearningSku
        /// </summary>
        public List<LxxLearningSkuModel> skuList { get; set; }

        /// <summary>
        /// 编码
        /// </summary>
        public string msg { get; set; }
    }

}
